<template>
  <div class="home">
    home组件
  </div>
</template>

<script setup>

import { useRoute } from "vue-router"

//实例化路由对象( 包含当前路由的详细信息 )
var $route = useRoute();

console.log( $route.params );

</script>

<style>

</style>